import { createRouter, createWebHistory } from 'vue-router';
import Home from '@/views/Home.vue'; 
import Login from '@/views/Login.vue';
import RAGUpload from '@/views/rag/Upload.vue';

const routes = [
  { path: '/', component: Home },
  { path: '/login', component: Login },
  { path: '/rag', component: RAGUpload },
  // 其他路由
];

const router = createRouter({
  history: createWebHistory(),
  routes,
});

export default router;